Skip to content

fix(ci): resolve semantic-release git error in Docker#198

Closed
xmarcos wants to merge 1 commit intomainfrom
fix/semantic-release-docker
Closed

fix(ci): resolve semantic-release git error in Docker#198
xmarcos wants to merge 1 commit intomainfrom
fix/semantic-release-docker

Conversation

@xmarcos
Copy link
Owner

@xmarcos xmarcos commented Mar 3, 2026

Description

Fixes the ENOGITREPO Not running from a git repository error that occurs during the Docker-based deployment workflow.

Changes

  • .dockerignore: Removed .git/ from the ignore list to ensure the Git context is available within the container.
  • deploy.yml: Added git config --global --add safe.directory /app before running semantic-release to satisfy Git's security checks in the containerized environment.

@xmarcos xmarcos closed this Mar 3, 2026
@xmarcos xmarcos deleted the fix/semantic-release-docker branch March 3, 2026 02:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant